﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="EagerTreeView.aspx.cs" Inherits="EagerTreeView_EagerTreeView" %>

<%@ Register Assembly="Studio.Web.WebControls" Namespace="Studio.Web.WebControls" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:ScriptManager ID="TheScriptManager" runat="server" EnablePartialRendering="true"
            EnablePageMethods="true" />
    </div>
    
    <asp:UpdatePanel ID="UpdatePanel2" runat="server">
    <contenttemplate>
    <cc1:EagerTreeView ID="EagerTreeView1" runat="server" 
        ontreenodecheckchanged="EagerTreeView1_TreeNodeCheckChanged">
        <Nodes>
            <asp:TreeNode ShowCheckBox="True" Text="New Node1" Value="New Node">
            </asp:TreeNode>
            <asp:TreeNode ShowCheckBox="True" Text="New Node2" Value="New Node">
            </asp:TreeNode>
        </Nodes>
    </cc1:EagerTreeView>
    </contenttemplate>
    </asp:UpdatePanel>
    
    <br />

    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <contenttemplate>
        <asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
    </contenttemplate>
    </asp:UpdatePanel>
    </form>
</body>
</html>
